package io.renren.modules.app.service.impl;
import java.util.List;
import io.renren.modules.app.dao.TZnmhAppVersionRoleMenuDao;
import io.renren.modules.app.entity.TZnmhAppVersionRoleMenu;
import io.renren.modules.app.service.TZnmhAppVersionRoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TZnmhAppVersionRoleMenuServiceImpl implements TZnmhAppVersionRoleMenuService{
    @Autowired
    private TZnmhAppVersionRoleMenuDao tZnmhAppVersionRoleMenuDao;
    @Override
    public long getTZnmhAppVersionRoleMenuRowCount(){
        return tZnmhAppVersionRoleMenuDao.getTZnmhAppVersionRoleMenuRowCount();
    }
    @Override
    public List<TZnmhAppVersionRoleMenu> selectTZnmhAppVersionRoleMenu(){
        return tZnmhAppVersionRoleMenuDao.selectTZnmhAppVersionRoleMenu();
    }
    @Override
    public TZnmhAppVersionRoleMenu selectTZnmhAppVersionRoleMenuByObj(TZnmhAppVersionRoleMenu obj){
        return tZnmhAppVersionRoleMenuDao.selectTZnmhAppVersionRoleMenuByObj(obj);
    }
    @Override
    public TZnmhAppVersionRoleMenu selectTZnmhAppVersionRoleMenuById(String id){
        return tZnmhAppVersionRoleMenuDao.selectTZnmhAppVersionRoleMenuById(id);
    }
    @Override
    public int insertTZnmhAppVersionRoleMenu(TZnmhAppVersionRoleMenu value){
        return tZnmhAppVersionRoleMenuDao.insertTZnmhAppVersionRoleMenu(value);
    }
    @Override
    public int insertNonEmptyTZnmhAppVersionRoleMenu(TZnmhAppVersionRoleMenu value){
        return tZnmhAppVersionRoleMenuDao.insertNonEmptyTZnmhAppVersionRoleMenu(value);
    }
    @Override
    public int insertTZnmhAppVersionRoleMenuByBatch(List<TZnmhAppVersionRoleMenu> value){
        return tZnmhAppVersionRoleMenuDao.insertTZnmhAppVersionRoleMenuByBatch(value);
    }
    @Override
    public int deleteTZnmhAppVersionRoleMenuById(String id){
        return tZnmhAppVersionRoleMenuDao.deleteTZnmhAppVersionRoleMenuById(id);
    }
    @Override
    public int updateTZnmhAppVersionRoleMenuById(TZnmhAppVersionRoleMenu enti){
        return tZnmhAppVersionRoleMenuDao.updateTZnmhAppVersionRoleMenuById(enti);
    }
    @Override
    public int updateNonEmptyTZnmhAppVersionRoleMenuById(TZnmhAppVersionRoleMenu enti){
        return tZnmhAppVersionRoleMenuDao.updateNonEmptyTZnmhAppVersionRoleMenuById(enti);
    }

    public TZnmhAppVersionRoleMenuDao getTZnmhAppVersionRoleMenuDao() {
        return this.tZnmhAppVersionRoleMenuDao;
    }

    public void setTZnmhAppVersionRoleMenuDao(TZnmhAppVersionRoleMenuDao tZnmhAppVersionRoleMenuDao) {
        this.tZnmhAppVersionRoleMenuDao = tZnmhAppVersionRoleMenuDao;
    }

}